package com.orphan.marketFront.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.orphan.marketFront.po.UserDetail;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author lucangtian
 * @since 2021-07-16
 */
@Repository
public interface UserDetailMapper extends BaseMapper<UserDetail> {
    @Insert("insert into t_user_detail (u_id,company,identity,license)  values (#{uId}, #{company}, #{identity}, #{license})")
    int save(@Param("uId") Long uId,@Param("company") String company,@Param("identity") String identity,@Param("license") String license);
}
